package com.inphase.myfood.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Area entity. @author MyEclipse Persistence Tools
 */

public class Area implements java.io.Serializable {

	// Fields

	private AreaId id;
	private City city;
	private String areaName;
	private Set dashs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Area() {
	}

	/** minimal constructor */
	public Area(AreaId id, City city) {
		this.id = id;
		this.city = city;
	}

	/** full constructor */
	public Area(AreaId id, City city, String areaName, Set dashs) {
		this.id = id;
		this.city = city;
		this.areaName = areaName;
		this.dashs = dashs;
	}

	// Property accessors

	public AreaId getId() {
		return this.id;
	}

	public void setId(AreaId id) {
		this.id = id;
	}

	public City getCity() {
		return this.city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public String getAreaName() {
		return this.areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Set getDashs() {
		return this.dashs;
	}

	public void setDashs(Set dashs) {
		this.dashs = dashs;
	}

}